{php} Application::getResponse()->assign('captcha', DISABLE_CAPTCHA); {/php}

<img class="captcha" src="{if $captcha}images/{/if}captcha.jpg" />
<br />
<input class="captcha" type="text" id="{$name|id}" name="{$name}" value="{$element.value|escape}" /> 